Skip to content

ci: review a pull request again when it is retargeted - #12

Merged
devnullexile merged 1 commit into
mainfrom
ci/review-on-retarget
Nov 6, 2026
Merged

devnullexile merged 1 commit into
mainfrom
ci/review-on-retarget

Conversation

@devnullexile

Copy link
Copy Markdown
Member

Reviews a pull request again when its base branch changes, for example when a stacked pull request is retargeted. Retargeting is an edited event that changes the diff without a new commit, so the bot's earlier approval, which covered only the old diff, would otherwise stay on the same commit.

What changes

  • The DeepSeek review workflow now triggers on edited, and the job runs only when github.event.changes.base is set.
  • A title or body edit gets its own -edit concurrency group, so it starts no review and never cancels a running one.

This is the same change as LHCWN/relaymind#286 and devnullexile/deepseek-review#13.

How it was checked

The workflow parses, and the job condition and concurrency group were evaluated for a base change, a title edit, a body edit and a push. This only affects CI, so no code changes.

Because .github/ changes are excluded from bot approval, a person needs to approve this pull request.

Retargeting a stacked pull request is an edited event that changes the reviewed diff without a new commit, so an earlier bot approval would otherwise stay. Title and body edits use their own concurrency group, so they start no review and never cancel one.
@devnullexile
devnullexile requested a review from ArcsinX as a code owner November 6, 2026 08:02
@devnullexile-deepseek-review

Copy link
Copy Markdown

PR Reviewer Guide 🔍

Here are some key observations to aid the review process:

⏱️ Estimated effort to review: 2 🔵🔵⚪⚪⚪
✅ Merge recommendation: No concerns found
🧪 No relevant tests
🔒 No security concerns identified
⚡ No major issues detected

@devnullexile
devnullexile merged commit b68b094 into main Nov 6, 2026
3 of 6 checks passed
@devnullexile
devnullexile deleted the ci/review-on-retarget branch November 6, 2026 09:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants